package com.zzyl.nursing.dto.member;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("新增预约参数")
public class ReservationDto {
    @ApiModelProperty(value = "手机号")
    private String mobile;
    @ApiModelProperty(value = "预约人姓名")
    private String name;
    @ApiModelProperty(value = "预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;
    @ApiModelProperty(value = "预约类型:0为参观预约")
    private Integer type;
    @ApiModelProperty(value = "家人姓名")
    private String visitor;
}
